#include "stdafx.h"
#include "ineedthis.h"

void MyChar::setChar(char ch)
{
	m_char = ch;
}

void MyChar::setRect(RECT *rc)
{
	m_rc.bottom = rc->bottom;
	m_rc.left = rc->left;
	m_rc.right = rc->right;
	m_rc.top = rc->top;

}

void MyChar::drawChar(HDC hdc)
{
	DrawText(hdc, &m_char, 1, &m_rc, NULL);
}

RECT * MyChar::getRect()
{
	return &m_rc;		// just returns the member rectangle for the char
}

char * MyChar::getChar()
{
	return &m_char;
}

int MyChar::getWidth()
{
	return m_width;
}

void MyChar::setWidth(int width)
{
	m_width = width;
}
